# Contributor: Angelo Verlain <hey@vixalien.com>
# Maintainer: Angelo Verlain <hey@vixalien.com>
pkgname=elementary-icon-theme
pkgver=8.0.0
pkgrel=0
pkgdesc="Named, vector icons for elementary OS"
url="https://github.com/elementary/icons"
arch="noarch"
license="GPL-3.0-only"
makedepends="
	gettext
	meson
	rsvg-convert
	xcursorgen
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/elementary/icons/archive/refs/tags/$pkgver.tar.gz"

builddir="$srcdir/icons-$pkgver"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
adfc1cf83066fd6487d3d33fc79758bc75bccf3aa4c263e9572673ce5966ce5fc3873b2ad758ddcd86939a0bc546d9b9687b81cc3f8f1de1a720e64c038b6a13  elementary-icon-theme-8.0.0.tar.gz
"
